﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.MemoryMappedFiles;

namespace InCom.Core.TerminalSend.MappedFile
{
    /// <summary>
    /// 创建一个DataTime  大小8字节
    /// </summary>
    public class MDateTime : BaseDataType<DateTime>
    {
        /// <summary>
        /// 创建一个新的基于内存文件的int
        /// </summary>
        /// <param name="offset">偏移量</param>
        /// <param name="access">映射对像</param>
        public MDateTime(long offset, MemoryMappedViewAccessor access)
            : base(offset, access)
        {
            Access = access;
            Offset = offset;
        }
    }
}
